package com.service1.db.mongodb.service

import com.base.model.Model_MongoDB
import com.service1.db.mongodb.repository.MongoDBRepository
import org.springframework.stereotype.Service

@Service
class MongoDBService(val mongoDBRepository: MongoDBRepository) {
    fun find(id: String): Model_MongoDB {
        return mongoDBRepository.findById(id).get()
    }
}
